﻿using System.Collections.Generic;
using DataBaseLayer.Dto;

namespace DataBaseLayer.Abstractions.Interfaces.Services
{
	public interface IOrdersService<T>
		where T: class
	{
		IEnumerable<T> GetOrders();

		T GetOrderById(int id);

		void CreateOrder(T orderData, LogOrderData logOrderData);

		void UpdateOrder(T orderData, LogOrderData logOrderData);

		void DeleteOrderById(int id);
	}
}
